package com.ruoyi.gis.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 栅格数据对象 dataset_raster
 *
 * @author rww
 * @date 2024-08-30
 */
public class DatasetRaster extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String groupId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String typeId;

    private String dataId;

    /** 获取结束日期 */
    @Excel(name = "获取结束日期")
    private String acquisitionDateEnd;

    /** 获取开始日期 */
    @Excel(name = "获取开始日期")
    private String acquisitionDateStart;
    private String acquisitionDate;//yyyyMMdd acquisition_date

    /** bbox */
    @Excel(name = "bbox")
    private Double bboxMinX;

    /** bbox */
    @Excel(name = "bbox")
    private Double bboxMinY;

    /** bbox */
    @Excel(name = "bbox")
    private Double bboxMaxX;

    /** bbox */
    @Excel(name = "bbox")
    private Double bboxMaxY;

    /** 云量 */
    @Excel(name = "云量")
    private Integer cloudCoverage;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 卫星类型 */
    @Excel(name = "卫星类型")
    private String sourceType;

    /** stacId */
    @Excel(name = "stacId")
    private String stacId;

    /** file_id */
    @Excel(name = "file_id")
    private String fileId;

    /** bucket */
    @Excel(name = "bucket")
    private String bucket;

    /** object_name */
    @Excel(name = "object_name")
    private String objectName;

    /** 文件下载状态  1: 可以下载  0 ：不可下载 */
    @Excel(name = "文件下载状态  1: 可以下载  0 ：不可下载")
    private String fileDownloadState;
    public static String state_undownload = "10";//
    public static String state_download = "20";//
    private String width;
    private String height;
    private String tifObjectName;//tif_object_name
    private String tifJpgObjectName;//tif_jpg_object_name
    private Long layerId;//layer_id
    private Boolean published;//

    private Long fileSize;//file_size


    /////////////////////////////


    public Long getFileSize() {
        return fileSize;
    }

    public void setFileSize(Long fileSize) {
        this.fileSize = fileSize;
    }

    public Boolean getPublished() {
        return published;
    }

    public void setPublished(Boolean published) {
        this.published = published;
    }

    public String getTifObjectName() {
        return tifObjectName;
    }

    public void setTifObjectName(String tifObjectName) {
        this.tifObjectName = tifObjectName;
    }

    public String getTifJpgObjectName() {
        return tifJpgObjectName;
    }

    public void setTifJpgObjectName(String tifJpgObjectName) {
        this.tifJpgObjectName = tifJpgObjectName;
    }

    public Long getLayerId() {
        return layerId;
    }

    public void setLayerId(Long layerId) {
        this.layerId = layerId;
    }

    public String getWidth() {
        return width;
    }

    public void setWidth(String width) {
        this.width = width;
    }

    public String getHeight() {
        return height;
    }

    public void setHeight(String height) {
        this.height = height;
    }

    public String getAcquisitionDate() {
        return acquisitionDate;
    }

    public void setAcquisitionDate(String acquisitionDate) {
        this.acquisitionDate = acquisitionDate;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setGroupId(String groupId)
    {
        this.groupId = groupId;
    }

    public String getGroupId()
    {
        return groupId;
    }
    public void setTypeId(String typeId)
    {
        this.typeId = typeId;
    }

    public String getTypeId()
    {
        return typeId;
    }
    public void setDataId(String dataId)
    {
        this.dataId = dataId;
    }

    public String getDataId()
    {
        return dataId;
    }
    public void setAcquisitionDateEnd(String acquisitionDateEnd)
    {
        this.acquisitionDateEnd = acquisitionDateEnd;
    }

    public String getAcquisitionDateEnd()
    {
        return acquisitionDateEnd;
    }
    public void setAcquisitionDateStart(String acquisitionDateStart)
    {
        this.acquisitionDateStart = acquisitionDateStart;
    }

    public String getAcquisitionDateStart()
    {
        return acquisitionDateStart;
    }
    public void setBboxMinX(Double bboxMinX)
    {
        this.bboxMinX = bboxMinX;
    }

    public Double getBboxMinX()
    {
        return bboxMinX;
    }
    public void setBboxMinY(Double bboxMinY)
    {
        this.bboxMinY = bboxMinY;
    }

    public Double getBboxMinY()
    {
        return bboxMinY;
    }
    public void setBboxMaxX(Double bboxMaxX)
    {
        this.bboxMaxX = bboxMaxX;
    }

    public Double getBboxMaxX()
    {
        return bboxMaxX;
    }
    public void setBboxMaxY(Double bboxMaxY)
    {
        this.bboxMaxY = bboxMaxY;
    }

    public Double getBboxMaxY()
    {
        return bboxMaxY;
    }
    public void setCloudCoverage(Integer cloudCoverage)
    {
        this.cloudCoverage = cloudCoverage;
    }

    public Integer getCloudCoverage()
    {
        return cloudCoverage;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setSourceType(String sourceType)
    {
        this.sourceType = sourceType;
    }

    public String getSourceType()
    {
        return sourceType;
    }
    public void setStacId(String stacId)
    {
        this.stacId = stacId;
    }

    public String getStacId()
    {
        return stacId;
    }
    public void setFileId(String fileId)
    {
        this.fileId = fileId;
    }

    public String getFileId()
    {
        return fileId;
    }
    public void setBucket(String bucket)
    {
        this.bucket = bucket;
    }

    public String getBucket()
    {
        return bucket;
    }
    public void setObjectName(String objectName)
    {
        this.objectName = objectName;
    }

    public String getObjectName()
    {
        return objectName;
    }
    public void setFileDownloadState(String fileDownloadState)
    {
        this.fileDownloadState = fileDownloadState;
    }

    public String getFileDownloadState()
    {
        return fileDownloadState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("groupId", getGroupId())
            .append("typeId", getTypeId())
            .append("dataId", getDataId())
            .append("acquisitionDateEnd", getAcquisitionDateEnd())
            .append("acquisitionDateStart", getAcquisitionDateStart())
            .append("bboxMinX", getBboxMinX())
            .append("bboxMinY", getBboxMinY())
            .append("bboxMaxX", getBboxMaxX())
            .append("bboxMaxY", getBboxMaxY())
            .append("cloudCoverage", getCloudCoverage())
            .append("name", getName())
            .append("sourceType", getSourceType())
            .append("stacId", getStacId())
            .append("fileId", getFileId())
            .append("bucket", getBucket())
            .append("objectName", getObjectName())
            .append("fileDownloadState", getFileDownloadState())
            .toString();
    }
}
